﻿using System.CodeDom.Compiler;
using System.ComponentModel.DataAnnotations;

namespace WebSiteAPI.Entities
{
    public class Account
    {
        public Guid Id { get; set; } = Guid.NewGuid();
        public required string Name { get; set; }
        public required string PhoneNumber { get; set; }
        public string? Notes { get; set; }
        public string? Source { get; set; }
    }

    public class AccountDTO
    {
        public required string Name { get; set; }
        public required string PhoneNumber { get; set; }
        public string? Notes { get; set; }
    }
}
